package com.inossem.warehousestorage_inossem.bean.inventory;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/8/12 0012.
 */

public class InventoryItemBean extends Bean {

    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"total":10,"list":[{"serial":"1","materielCode":"WLBM12345678901111","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述","storeNum":20,"unit":"千瓦时","specialInventoryFlag":"K","specialInventoryCode":"100000001","speicalInventoryDescription":"特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息","batchCode":"312312312","storeCode":"A01-01-01-01","checkNum":10},{"serial":"2","materielCode":"WLBM12345678901111","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述","storeNum":20,"unit":"千瓦时","specialInventoryFlag":"K","specialInventoryCode":"100000001","speicalInventoryDescription":"特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息","batchCode":"312312312","storeCode":"A01-01-01-01","checkNum":10}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 10
         * list : [{"serial":"1","materielCode":"WLBM12345678901111","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述","storeNum":20,"unit":"千瓦时","specialInventoryFlag":"K","specialInventoryCode":"100000001","speicalInventoryDescription":"特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息","batchCode":"312312312","storeCode":"A01-01-01-01","checkNum":10},{"serial":"2","materielCode":"WLBM12345678901111","materielDescription":"物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述","storeNum":20,"unit":"千瓦时","specialInventoryFlag":"K","specialInventoryCode":"100000001","speicalInventoryDescription":"特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息","batchCode":"312312312","storeCode":"A01-01-01-01","checkNum":10}]
         */

        private int total;
        private List<ListBean> list = new ArrayList<ListBean>();

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * serial : 1
             * materielCode : WLBM12345678901111
             * materielDescription : 物料描述物料描述物料描述物料描述物料描述物料描述物料描述物料描述
             * storeNum : 20
             * unit : 千瓦时
             * specialInventoryFlag : K
             * specialInventoryCode : 100000001
             * speicalInventoryDescription : 特殊库存描述信息特殊库存描述信息特殊库存描述信息特殊库存描述信息
             * batchCode : 312312312
             * storeCode : A01-01-01-01
             * checkNum : 10
             */

            private String serial;
            private String materielCode;
            private String materielDescription;
            private String storeNum;
            private String unit;
            private String specialInventoryFlag;
            private String specialInventoryCode;
            private String speicalInventoryDescription;
            private String batchCode;
            private String storeCode;
            private String checkNum;

            public String getSerial() {
                return serial;
            }

            public void setSerial(String serial) {
                this.serial = serial;
            }

            public String getMaterielCode() {
                return materielCode;
            }

            public void setMaterielCode(String materielCode) {
                this.materielCode = materielCode;
            }

            public String getMaterielDescription() {
                return materielDescription;
            }

            public void setMaterielDescription(String materielDescription) {
                this.materielDescription = materielDescription;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getSpecialInventoryFlag() {
                return specialInventoryFlag;
            }

            public void setSpecialInventoryFlag(String specialInventoryFlag) {
                this.specialInventoryFlag = specialInventoryFlag;
            }

            public String getSpecialInventoryCode() {
                return specialInventoryCode;
            }

            public void setSpecialInventoryCode(String specialInventoryCode) {
                this.specialInventoryCode = specialInventoryCode;
            }

            public String getSpeicalInventoryDescription() {
                return speicalInventoryDescription;
            }

            public void setSpeicalInventoryDescription(String speicalInventoryDescription) {
                this.speicalInventoryDescription = speicalInventoryDescription;
            }

            public String getBatchCode() {
                return batchCode;
            }

            public void setBatchCode(String batchCode) {
                this.batchCode = batchCode;
            }

            public String getStoreCode() {
                return storeCode;
            }

            public void setStoreCode(String storeCode) {
                this.storeCode = storeCode;
            }

            public String getStoreNum() {
                return storeNum;
            }

            public void setStoreNum(String storeNum) {
                this.storeNum = storeNum;
            }

            public String getCheckNum() {
                return checkNum;
            }

            public void setCheckNum(String checkNum) {
                this.checkNum = checkNum;
            }
        }
    }
}
